#!/bin/bash

# /bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_qtruck.launch;"

case $RR_ID in
qtruck[1-6])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_qtruck.launch;"
;;
qtruck[1][1-6])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_qtruck_abuzhabi.launch;"
;;
qtruck[1][7])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_qtruck_dibai.launch;"
;;
qtruck[1][8-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_qtruck_yingguo.launch;"
;;
qtruck[2][0-9]|qtruck_en[3-4])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_qtruck.launch;"
;;
qtruck[3][0-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_qtruck.launch;"
;;
qtruck[4][0-9])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_qtruck.launch;"
;;
igv[1])
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_igv.launch;"
;;
igv1050)
/bin/bash -c "source /home/westwell/welldriver/devel/setup.bash; roslaunch mpc_controller control_igv.launch;"
;;
esac